package com.mano.mall.service.mapper;

import com.mano.mall.service.mapper.entity.Blacklist;
import org.apache.ibatis.annotations.Select;


public interface BlacklistMapper {

	@Select(" select ID AS ID ,ip_addres AS ipAddres,restriction_type  as restrictionType, availability  as availability from mano_blacklist where  ip_addres =#{ipAddres} and  restriction_type='1' ")
    Blacklist findBlacklist(String ipAddres);

}
